


def num_sum():
    def fn(nums):
        return sum(nums)
    return fn

print(num_sum()([1,3,5,7,9]))